package cn.com.byte1024.mapper;

import cn.com.byte1024.entity.VoteProjectVoteKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VoteProjectVoteMapper {
    int deleteByVoteId(@Param("voteId") String voteId);
    
    int deleteByVoteProjectId(@Param("voteProjectId") String voteProjectId);
    
    List<VoteProjectVoteKey> selectAllVoteProjectVoteByVoteProjectId(@Param("voteProjectId") String voteProjectId);
    
    int deleteByPrimaryKey(VoteProjectVoteKey key);

    int insert(VoteProjectVoteKey record);

    int insertSelective(VoteProjectVoteKey record);
}